<template>
  <div class="index">
    <div><el-button type="primary" @click="routerEv('/log')" plain>dsada</el-button></div>
  </div>
</template>

<script >
// import { dateFormatsa } from '@/utlis/FunctionUtils.js'
// import mobileDetect from "mobile-detect";

export default {
  name: 'componentName',
  components: {},
  data() {
    return {
      murmur: null
    }
  },
  async mounted() {
    // await this.daaaa()
    // await this.getDataList(false)
    // this.$nextTick(function () {
    //   // this.$refs.table.$el.offsetTop：表格距离浏览器的高度
    //   this.tableHeight = window.innerHeight - this.$refs.reftable.$el.offsetTop - 45
    //   // 监听窗口大小变化
    //   let self = this
    //   window.onresize = function () {
    //     self.tableHeight = window.innerHeight - self.$refs.reftable.$el.offsetTop - 45
    //   }
    // })
  },
  methods: {
    async routerEv(ev) {
      this.$router.push(ev)
    }

  }
}
</script>

<style lang='less' scoped>
.index {
  height: 100%;
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  // background-color: red;
}
</style>